﻿using AutoMapper;
using BCDto.IM.LeaveMessageRecord;
using BCEntity.IM.LeaveMessageRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles.IM
{
    public class IMProfile : Profile
    {
        public IMProfile()
        {
            CreateMap<LeaveMessageRecordEntity, LeaveMessageRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<LeaveMessageRecordDto, LeaveMessageRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<LeaveMessageRecordPutDto, LeaveMessageRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
